<!-- Site header and navigation -->
<div class="top  navbar-fixed-top">
  <div class="container">
    <a href="#" class="navbar-brand pull-left">
      隐患排查
    </a>
    <button class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
      <span class="glyphicon glyphicon-align-justify"></span>
    </button>
    <nav class="navbar-collapse collapse" role="navigation">
      <ul class="navbar-nav nav">
        <li><a href="#/main">首页工作提醒</a></li>
        <li><a href="#/yinhuanAll">隐患核查复查</a></li>
      </ul>
      <!--<form class="navbar-form navbar-left" role="search" style="padding-top: 5px">-->
      <!--<div class="form-group">-->
      <!--<input type="text" class="form-control input-sm" placeholder="搜索你感兴趣的事情">-->
      <!--</div>-->
      <!--<button type="submit" class="btn btn-sm">搜索</button>-->
      <!--</form>-->
      <ul class="nav navbar-nav navbar-right">
        <li><a ng-href="#/logout">退出</a></li>
      </ul>
    </nav>
  </div>
</div>


<div class="alertbanner">
  <div class="container">
    <div ng-repeat="item in titleInfo"  class="alert alert-warning alert-dismissible" role="alert" style="margin: 0">
      <button type="button" class="close" data-dismiss="alert" ng-click="closeTitleMsg('alertDubanId',item.alertDubanId)"><span aria-hidden="true">&times;</span><span
        class="sr-only">Close</span></button>
      {{item.txxx}}
    </div>
  </div>
</div>
<!-- Site banner -->
<div class="banner">
  <div class="container">
    <div class="row">
      <div class="col-md-3 col-sm-3 col-xs-6">
        <a data-toggle="tooltip"  class="well top-block" ng-href="#/entBaseInfo">
          <i class="glyphicon glyphicon-user blue"></i>

          <div>企业基本信息</div>
        </a>
      </div>

      <div class="col-md-3 col-sm-3 col-xs-6">
        <a data-toggle="tooltip"  class="well top-block" ng-href="#/yinhuanAll"  >
          <i class="glyphicon glyphicon-star green"></i>

          <div>隐患管理</div>
        </a>
      </div>

      <!--<div class="col-md-3 col-sm-3 col-xs-6">-->
        <!--<a data-toggle="tooltip" title="${{mainNo.pingjiNo.newPj}} new sales." class="well top-block" href="#/pingji">-->
          <!--<i class="glyphicon glyphicon-dashboard yellow"></i>-->

          <!--<div>评级</div>-->
          <!--<div>{{mainNo.pingjiNo.total}}</div>-->
          <!--<span class="notification yellow">{{mainNo.pingjiNo.newPj}}</span>-->
        <!--</a>-->
      <!--</div>-->

      <!--<div class="col-md-3 col-sm-3 col-xs-6">-->
        <!--<a data-toggle="tooltip" title="{{mainNo.messageNo.newMsg}} new messages." class="well top-block" ng-href="#/message">-->
          <!--<i class="glyphicon glyphicon-envelope red"></i>-->

          <!--<div>消息</div>-->
          <!--<div>{{mainNo.messageNo.total}}</div>-->
          <!--<span class="notification red">{{mainNo.messageNo.newMsg}}</span>-->
        <!--</a>-->
      <!--</div>-->
    </div>
  </div>
</div>

<div>
  <accordion close-others="oneAtATime" id="mainMsg">
    <accordion-group heading="隐患信息" is-open="status.isFirstOpen" is-disabled="status.isFirstDisabled" >
      <p>整改中重大隐患数  {{comprehensive.major}}</p>
      <p>整改中一般隐患数  {{comprehensive.general}}</p>
      <p>逾期未整改重大隐患数  {{comprehensive.rectifMajor}}</p>
      <p>逾期未整改一般隐患数  {{comprehensive.rectifGeneral}}</p>
    </accordion-group>

    <accordion-group heading="企业基础信息">
      <p>未上报企业数  {{enterprise.unreported}}</p>
      <p>待核查企业数  {{enterprise.wait}}</p>
      <p>待核查企业变更数  {{enterprise.waitChange}}</p>
    </accordion-group>

    <accordion-group heading="待评级企业数">
      <p>待评级企业数  {{grade}}</p>
    </accordion-group>

    <accordion-group heading="其他提醒信息" >
      <div ng-repeat="item in qtInfo"  role="alert" style="margin: 0">

        <div ng-show="item.criticismInfo.length>0" class="alert alert-success alert-dismissible">
          <button type="button" class="close" data-dismiss="alert" ng-click="closeTitleMsg('criticismId',item.criticismId)"><span aria-hidden="true">&times;</span><span
            class="sr-only">Close</span></button>
          <p>{{item.criticismInfo}}</p>
          <p class="text-right">{{item.criticismDep.bmmc}}</p>
        </div>

        <div ng-show="item.praiseInfo.length>0" class="alert alert-warning alert-dismissible">
          <button type="button" class="close" data-dismiss="alert" ng-click="closeTitleMsg('praiseId',item.praiseId)"><span aria-hidden="true">&times;</span><span
            class="sr-only">Close</span></button>
          <p> {{item.praiseInfo}}</p>
          <p class="text-right">{{item.praiseSysDep.bmmc}}</p>
        </div>

        <div ng-show="item.letterTitle.length>0" class="alert alert-info alert-dismissible">
          <button type="button" class="close" data-dismiss="alert" ng-click="closeTitleMsg('letterId',item.letterId)"><span aria-hidden="true">&times;</span><span
            class="sr-only">Close</span></button>
          <p> {{item.letterTitle}}</p>
          <p class="text-right">{{item.collSysDep.bmmc}}</p>
        </div>

      </div>
    </accordion-group>
  </accordion>
</div>

<!-- Middle content section -->
<div class="container">
  <div class="row">
    <div class="col-lg-2 col-md-2">

    </div>

    <div class="col-xs-12 col-md-10 col-sm-12 col-lg-10">
      <!--[if lt IE 7]>
      <p class="browsehappy">您正在使用<strong>过时的</strong> 浏览器. 请 <a href="http://browsehappy.com/">升级浏览器</a> 到流行版本.
      </p>
      <![endif]-->
    </div>
  </div>
</div>
